home *** CD-ROM | disk | FTP | other *** search
Text File | 1995-11-19 | 1.8 KB | 41 lines | [TEXT/CWIE] |
-
- // ----- Optional inclusion of Z80_Info(cc,ip) in several special instructions --------------------
- // Doesn't slow down the engine very much, if Z80_Info() does nothing
- // May slow down the engine to a crawl, if Z80_Info() does time consuming jobs like printing
- // Actually depending on flags Z80_Info() prints a line on the console disassembling the instruction
-
- #if GENERATINGPOWERPC
- #define INFO_ILLEGALS on // include Z80_Info(cc,ip) in normal illegal instructions ?
- #define INFO_WEIRD on // include Z80_Info(cc,ip) in weird illegal instructions ?
- #define INFO_IRPT on // include Z80_Info(cc,ip) in interrupt processing ?
- #define INFO_NMI on // include Z80_Info(cc,ip) in nmi processing ?
- #define INFO_MISC on // include Z80_Info(cc,ip) in miscellaneous instruction ?
- // >>> EI; DI; IM0; IM1; IM2; RETI; RETN; HALT; DAA;
- // >>> LD A,R; LD A,I; LD R,A; LD I,A; RST 0 - RST 56
- #else
- #define INFO_ILLEGALS on // include Z80_Info(cc,ip) in normal illegal instructions ?
- #define INFO_WEIRD on // include Z80_Info(cc,ip) in weird illegal instructions ?
- #define INFO_IRPT on // include Z80_Info(cc,ip) in interrupt processing ?
- #define INFO_NMI on // include Z80_Info(cc,ip) in nmi processing ?
- #define INFO_MISC on // include Z80_Info(cc,ip) in miscellaneous instruction ?
- #endif
-
- // ----- Optional inclusion of additional code to profile Z80 applications --------------------
-
- #if GENERATINGPOWERPC
- #define CMD_PROFILE on // create opcode profiles
- #define PC_PROFILE on // create address profile
- #else
- #define CMD_PROFILE on // create opcode profiles
- #define PC_PROFILE on // create address profile
- #endif
-
- // ----- Optional exact calculation of R-register ----------------------------------------
-
- #if GENERATINGPOWERPC
- #define EXACT_R on // slows down emulation !
- #else
- #define EXACT_R on // slows down emulation !
- #endif
-
-